package com.cskt.petproject178.pojo.vo;

/**
 * 响应状态码枚举
 * 你可以预定义相关的属性
 * @author admin
 **/

public enum ResultStatusEnum {
    SUCCESS("200","成功"),
    
    FAIL("0", "失败"),
    COMMON_EXCEPTION("500", "系统异常"),
    
    ;

    private String code;
    private String msg;

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ResultStatusEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
